]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
padOsd: Fix .allocate() call
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 28 May 2020 11:34:57 +0000 (13:34 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Fri, 29 May 2020 18:06:48 +0000 (18:06 +0000)
This was not updated to the API change in commit 9a8ced9f5b6.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1290

js/ui/padOsd.js

index f6965333571ba04b4285a541457a3d9113bbc20c..ddeb28e7d09127dfb2d18ecad5be24fabe256171 100644 (file)
@@ -415,7 +415,7 @@ var PadDiagram = GObject.registerClass({
 
         childBox.y1 = y - natHeight / 2;
         childBox.y2 = y + natHeight / 2;
-        child.allocate(childBox, 0);
+        child.allocate(childBox);
     }
 
     vfunc_allocate(box) {